Skip to content

Conversation

@josecelano
Copy link
Member

@josecelano josecelano commented Jun 16, 2025

Remove internal non-labeled metrics.

Subtasks

  • In http-tracker-core package.
  • In udp-tracker-core package.
  • In udp-tracker-server package.

@josecelano josecelano requested a review from da2ce7 June 16, 2025 15:11
@josecelano josecelano self-assigned this Jun 16, 2025
@josecelano josecelano added the Code Cleanup / Refactoring Tidying and Making Neat label Jun 16, 2025
@josecelano josecelano linked an issue Jun 16, 2025 that may be closed by this pull request
…ore pkg

We only used labeled metric internally, althougth the APi exposes global
aggregate metrics (without labels. They are calculated from the labeled
metrics.
The IP faimly related to the counter (inet or inet6) dependos on the
server binding IP.

If the server is listening on a inet6 IP, then inet6 lreated counters
should be increased.
@codecov
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.71%. Comparing base (86e6406) to head (a552482).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1584      +/-   ##
===========================================
- Coverage    84.79%   84.71%   -0.09%     
===========================================
  Files          289      288       -1     
  Lines        21709    21498     -211     
  Branches     21709    21498     -211     
===========================================
- Hits         18408    18211     -197     
+ Misses        2981     2966      -15     
- Partials       320      321       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@josecelano josecelano marked this pull request as ready for review June 16, 2025 16:29
@josecelano josecelano force-pushed the 1581-overhaul-stats-remove-internal-non-labeled-metrics branch from 31b908c to a552482 Compare June 16, 2025 16:33
@josecelano
Copy link
Member Author

ACK a552482

@josecelano josecelano merged commit 70fd119 into torrust:develop Jun 16, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Cleanup / Refactoring Tidying and Making Neat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overhaul stats: Remove internal non-labeled metrics

1 participant